package com.gitee.kamismile.stone.rpc.common.exception;

public class RPCException extends RuntimeException{

    private int code = -1;

    public RPCException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
